#if !defined(__CAPTUREDFRAMEDATA_H__)
#define __CAPTUREDFRAMEDATA_H__

#include <list>
#include <string>

typedef struct t_point {
	int x;	// x coordinates in mm
	int y;	// y coordinates in mm
	int z;	// z coordinates in mm
} tPoint3D;

typedef struct t_transform_matrix {
	double m[3][4];	// transformation matrix
} tTransformMatrix;

typedef struct t_frame_data {
	tTransformMatrix m;		// transformation matrix which must be
							// applied to 3D data
	tPoint3D p[640 * 480];	// list of all 3D points obtained
							// from Kinect depth frame
} tFrameData;

tPoint3D capturedFrameData_applyMatrix(tTransformMatrix * m, tPoint3D p);

#endif